package com.atguigu.service;

import com.atguigu.base.BaseService;
import com.atguigu.entity.Role;

import java.util.List;
import java.util.Map;

/**
 * @Author: 翟文海
 * @Date: 2022/10/25/025 12:36
 * @Version: 1.0
 * @Description:
 **/
public interface RoleService extends BaseService<Role> {

    void saveRolePermission(Long roleId, List<Long> permissionIds);
    List<Map<String, Object>> findPermissionByRoleId(Long id);

    List<Role> findByAdminId(Long adminId);
}
